package com.woniu.model;

public class ResultModel {

	private Integer code;
	
	private String msg;
	
	private Object data;
	
	public Integer getCode() {
		return code;
	}
	public ResultModel setCode(Integer code) {
		this.code = code;
		return this;
	}
	public String getMsg() {
		return msg;
	}
	public ResultModel setMsg(String msg) {
		this.msg = msg;
		return this;
	}
	public Object getData() {
		return data;
	}
	public ResultModel setData(Object data) {
		this.data = data;
		return this;
	}
	
	public static Result getInstance() {
		return new Result();
	}
	
	public ResultModel() {}
	
	public ResultModel(Integer code,String msg,Object data) {
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
}
